home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Str / DLLClient / MkClientOs
Text File  |  1995-09-04  |  2KB  |  100 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.DecodeHex    \
  4.             o.LeafName    \
  5.             o.MakeASCIIZ    \
  6.             o.MakeCR    \
  7.             o.MakeHex    \
  8.             o.strcmpcr    \
  9.             o.strdup    \
  10.             o.stricmp    \
  11.             o.stricmpcr    \
  12.             o.strlencr    \
  13.             o.strncpycr    \
  14.             o.strnicmp    \
  15.             o.strnicmpcr    \
  16.             o.strcatcr    \
  17.             o.strcpycr    \
  18.  
  19.  
  20. LibName        =    Str
  21.  
  22.  
  23.  
  24. # Template makefile to make all .o files
  25. # for a DeskLib sublibrary. Compilation 
  26. # is for static linking with client
  27. # applications (ie not cc -zM but
  28. # _DeskLib_SDLS_CLIENT is predefined).
  29.  
  30. # The macro $(ObjectFiles) should be set at the 
  31. # start of this file, to be a space-separated
  32. # list of object files.
  33. # This is done by 'Makatic'.
  34.  
  35. # The macro $(LibName) should also be set at the 
  36. # start of this file, to be the name of the 
  37. # DeskLib sublibrary.
  38.  
  39. # Compiler flags, These can be anything. 
  40. # All essential flags (eg CC -zM
  41. # are included in the macro $(CC).
  42. #
  43. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  44. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  45.  
  46. CC        =    cc -c $(CCFlags)
  47. ASM        =    ObjAsm $(ASMFlags)
  48.  
  49.  
  50. # -------------------------------------------------------
  51. # Everything below here should probably not be changed...
  52. # -------------------------------------------------------
  53.  
  54. # Here's what we want to make...
  55. #
  56. All:    $(ObjectFiles)
  57.  
  58.  
  59. VPATH = @.^
  60.  
  61. .SUFFIXES:    .o .c .s
  62.  
  63. .c.o:
  64.     $(CC) -o $@ $<
  65.  
  66. .s.o:
  67.     $(ASM) $(ASMFlags) -from $< -to $@
  68.  
  69.  
  70.  
  71. # Dynamic dependencies:
  72. o.DecodeHex:    ^.c.DecodeHex
  73. o.DecodeHex:    DeskLib:h.Str
  74. o.LeafName:    ^.c.LeafName
  75. o.LeafName:    DeskLib:h.Str
  76. o.MakeASCIIZ:    ^.c.MakeASCIIZ
  77. o.MakeASCIIZ:    DeskLib:h.Str
  78. o.MakeCR:    ^.c.MakeCR
  79. o.MakeCR:    DeskLib:h.Str
  80. o.MakeHex:    ^.c.MakeHex
  81. o.MakeHex:    DeskLib:h.Str
  82. o.strcmpcr:    ^.c.strcmpcr
  83. o.strcmpcr:    DeskLib:h.Str
  84. o.strdup:    ^.c.strdup
  85. o.strdup:    DeskLib:h.Str
  86. o.stricmp:    ^.c.stricmp
  87. o.stricmp:    DeskLib:h.Str
  88. o.stricmpcr:    ^.c.stricmpcr
  89. o.stricmpcr:    DeskLib:h.Str
  90. o.strlencr:    ^.c.strlencr
  91. o.strlencr:    DeskLib:h.Str
  92. o.strncpycr:    ^.c.strncpycr
  93. o.strncpycr:    DeskLib:h.StringCR
  94. o.strncpycr:    DeskLib:h.Str
  95. o.strnicmp:    ^.c.strnicmp
  96. o.strnicmp:    DeskLib:h.Str
  97. o.strnicmpcr:    ^.c.strnicmpcr
  98. o.strnicmpcr:    DeskLib:h.Str
  99.